//	Copyright (C) Titanium Technology Group
//	Author:		hannes.wang
//	Version:	1.00
#ifndef TI_JPEG_DLL
#define TI_JPEG_DLL

#define TIJPEG_API __declspec(dllexport)

TIJPEG_API BOOL  TiGetJPGDimensions(LPCTSTR lpszFileName,UINT& nWidth,UINT& nHeight);
TIJPEG_API BOOL  TiLoadJpgFromFile(LPCTSTR lpszFileName,UINT& nWidth,UINT& nHeight,BYTE* pBufOut);
TIJPEG_API BOOL  TiSaveRgb24ToJpgFile(BYTE* pRgbBuf,UINT nWidth,UINT nHeight,
								   int nQuality,LPCTSTR lpszFileName);

#endif

